package com.wanmait.heating.utils;

import org.springframework.util.DigestUtils;

public class MD5Utils {
    public static String md5(String str)
    {
        return DigestUtils.md5DigestAsHex(DigestUtils.md5DigestAsHex(str.getBytes()).substring(5,29).getBytes());
    }
}
